<?php

namespace App\Http\Services;

class BaseService
{
    public static function returnInfo(int $code, mixed $data, string $message = '')
    {
        return response()->json([
            "code" => $code,
            "message" => $message,
            "data" => $data
        ]);
    }
}